Top 10k strings from Fractals (1989)(James Cox)[a2].z80
in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [Z80] (TOSEC-v2007-01-01) /
Back to the directory listing
2 FRACTAL TRIANGLES 1 The rules for these are completely different from the triangles. 1 The rules for generating fractal triangles are as follows: 1 The only limitation with the Spectrum is its low resolution. All pictures are in monochrome because of colour clash. 1 The first picture is the classic "FRACTAL TRIANGLE", the following 8 are variations on the same rules,but moving 1/4th or 1/8th of of the distance as mentioned in rule 3, instead of half way. 1 Speed has been improved by writing the program in machine code - the same program in BASIC takes hours to do what this does in seconds!! 1 Select option 3 to see this. 1 PRESS A KEY 1 From this, intricate patterns are produced, having the same complexity however closely you look at them. 1 Fractals are patterns generated by simple formulas which are driven by a series of random numbers. 1 FURTHER INFORMATION 1 FRACTAL CRYSTALS 1 By James Cox 1989 1 ;"September 1989" 1 ;"LOADING - Please wait" 1 ;" By James Cox"'''; 1 3. Select randomly one of the three points, move halfway towards it, and plot that point. 1 2. Choose a point within the triangle to start from. (in this program it is the top point.) 1 1. Choose 3 points on the screen which form a triangle. 1 .INTRODUCTION 1 .FRACTAL TRIANGLES 1 .FRACTAL CRYSTAL (II) 1 .FRACTAL CRYSTAL (I) 1 * FRACTAL GROWTH 1 (c) jmac 9/89 1 "RANDOM" NUMBERS 1 This program was inspired by a CHANNEL 4 programme in the EQUINOX series called CHAOS. 1 The spectrum ROM is used by this program for a supply of random numbers. 1 The crystal routines were adapted from rules outlined in an article in THE MICRO USER (Aug 89) 1 Repeat rule 3 about 200,000 times. 1 Particles are chosen at random points on the screen and "dropped" in a random descent to the bottom of the screen. 1 Notice that if a "plant" gets overshadowed by another it will cease to grow - a very realistic effect. 1 If, at any point on their way down they encounter another particle they latch on to each other and eventually you get a growth that resembles plant or moleculegrowth. 1 However, as the contents of ROM are obviously NOT random (they never change), the patterns produced for the crystal growth will always be the same. In a true fractal program no two patterns would ever be the same.